home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 1727 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  936 b 

  1. Path: cognex.cognex.com!usenet
  2. From: Michael Cook <mcook@cognex.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Name-mangling standard
  5. Date: 12 Jan 1996 10:23:18 -0500
  6. Organization: Cognex Corporation, Natick, Massachusetts
  7. Sender: mcook@erawan.cognex.com
  8. Message-ID: <r4ivihzbbs.fsf@erawan.cognex.com>
  9. References: <20c.32169.607@newage.com.ar> <4bsnbu$5mu@mujibur.inmind.com>
  10.     <30EDC013.7C780E5E@cims.nyu.edu> <DL1pqE.KKq@infosoft.com>
  11. NNTP-Posting-Host: erawan.cognex.com
  12. X-Newsreader: September Gnus v0.26/Emacs 19.29
  13.  
  14. >>>>> "JG" == John Galt <jgalt@infosoft.com> writes:
  15.  
  16.  JG> 1.  It makes it possible to have more than one function with the same name
  17.  
  18. You could embed all that information into the symbol name without having to
  19. resort to mangling, no?  Linkers (and such) tend to allow only alphanumeric
  20. symbol names.  Even an assembler could allow a kind of quoting mechanism on
  21. symbol names:
  22.  
  23.     "Red::orange(int,char*)":
  24.  
  25. Michael.
  26.